Structures and Pointers
Things to remember
Attempts to access the fields of the structure John through PointerJohn that is defined as
w PointerJohn = &John;.
w‘.’ has higher precedence than *, so the expression
w would be interpreted as:
w The following expression is get out of the problem:
w
w As an alternative notation that is equivalent to the preceding expression is:
*PointerJohn.Age
*(PointerJohn.Age)
(*PointerJohn).Age
PointerJohn->Age